package com.rimi.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * InnoDB free: 11264 kB; (`user_id`) REFER `owl_video/user`(`user_id`); (`video_id
 * </p>
 *
 * @author sky
 * @since 2018-06-06
 */
public class Grade implements Serializable {



    private static final long serialVersionUID = 1L;

    @TableId(value = "grade_id", type = IdType.AUTO)
    private Integer gradeId;
    @TableField("user_id")
    private Integer userId;
    @TableField("video_id")
    private Integer videoId;
    @TableField("grade_num")
    private Integer gradeNum;
    @TableField("grade_time")
    private Date gradeTime;


    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public Integer getGradeNum() {
        return gradeNum;
    }

    public void setGradeNum(Integer gradeNum) {
        this.gradeNum = gradeNum;
    }

    public Date getGradeTime() {
        return gradeTime;
    }

    public void setGradeTime(Date gradeTime) {
        this.gradeTime = gradeTime;
    }

    @Override
    public String toString() {
        return "Grade{" +
        ", gradeId=" + gradeId +
        ", userId=" + userId +
        ", videoId=" + videoId +
        ", gradeNum=" + gradeNum +
        ", gradeTime=" + gradeTime +
        "}";
    }
}
